<?php
class Modulemanager_Data_Deletemodulesettings implements Modulemanager_Data_Mainable{
    
    private $core_controller_dataoperation;
    
    public function __construct() {
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }
    
    public function main(array $variables = null) {
        $variables['query'] = "DELETE FROM module_settings WHERE module_name='".$variables['get']['name']."';";
        return $this->core_controller_dataoperation->main($variables);
    }

}
